CC ?=gcc
ver = release

ifeq ($(ver), debug)
OUTPUTNAME := debug_train_system_v1.1
CFLAGS ?=-g -Wall -O0 -D_DEBUG_ 
else
OUTPUTNAME := train_system_v1.1
CFLAGS ?=-g -Wall -O0
endif

MAKE ?=make
TOPDIR =$(PWD)
BUILDDIR =$(TOPDIR)/build
OBJSDIR =$(BUILDDIR)/obj/
BINDIR =$(BUILDDIR)/bin
INCDIR =$(TOPDIR)/include